package fic.storefinder.shared.utils;

import com.google.gwt.i18n.client.NumberFormat;

public class Utils {
public static String formatCurrency(double value, String currency) {
		
		NumberFormat fmt = NumberFormat.getFormat("#,###.#");
		
	    String formatted = fmt.format(value);
	    formatted = formatted.replace(","," ");
		return formatted + " " + currency;
		
	}
}
